<div class="body">
    <h2><?php echo $html->getContent('cName')?></h2>
    <div class="msg"><?php echo $html->getContent('cIntro')?></div>
    
    <?php   
    foreach($listcat as $cat)
    {
        $linkimg    = GetIntroImg($cat['cImage']);
        $link       = getLinkParentCat($cat['iParentId']).'/'.$cat['cUrlString'].'';
    ?>
    <a class="listsv" href="<?php echoLink($link)?>">
        <span class="im">
            <img src="<?php echo $linkimg?>" border="0" width="100%"/>
        </span>
        <?php echo $cat['cName']?>
    </a>
    <?php
    }
    ?>
    
    <?php
    foreach($listimg as $img)
    {
        $linkimg    = GetIntroImg($img['cImage'],true);
    ?>
    <a class="lightbox photos" href="<?php echo GetIntroImg($img['cImage'])?>" rel="flowers" title="<?php echo $img['cName']?>">
        <span class="im">
            <img src="<?php echo $linkimg?>" border="0" width="100%" alt="<?php echo $img['cName']?>"/>
        </span>
        <?php echo $img['cName']?>
    </a>
    <?php    
    }
    if(count($listimg)>0)
    {
    ?>
    <script src="<?php echoLink('javascript/lightbox/jquery.js')?>" type="text/javascript"></script>
    <script src="<?php echoLink('javascript/lightbox/jquery.lightbox.js')?>" type="text/javascript"></script>
    <script>
            var dirimage="<?php echoLink('javascript/lightbox/')?>";
    		$(document).ready(function(){
    			$(".lightbox").lightbox();
    		});
    		
    </script>
    <link rel="stylesheet" href="<?php echoLink('javascript/lightbox/lightbox.css')?>" type="text/css" media="screen" />
    
    <?php
    }
    ?>
</div>
